package com.ruoyi.project.wechatprogram.comment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单评论信息对象 wx_comment
 * 
 * @author sxchen
 * @date 2020-04-21
 */
public class WxComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 评论者姓名 */
    @Excel(name = "评论者姓名")
    private String name;

    /** 评论者openid */
    @Excel(name = "评论者openid")
    private String openid;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 订单id，关联wx_order_master的主键id */
    @Excel(name = "订单id，关联wx_order_master的主键id")
    private Integer wxOrderId;

    /** 站点id */
    @Excel(name = "站点id")
    private Integer webId;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private Integer del;

    /** 手机号 */
    private String phone;

    /** 删除状态 */
    private Integer commentStatus;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getCommentStatus() {
        return commentStatus;
    }

    public void setCommentStatus(Integer commentStatus) {
        this.commentStatus = commentStatus;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setWxOrderId(Integer wxOrderId)
    {
        this.wxOrderId = wxOrderId;
    }

    public Integer getWxOrderId()
    {
        return wxOrderId;
    }
    public void setWebId(Integer webId) 
    {
        this.webId = webId;
    }

    public Integer getWebId() 
    {
        return webId;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("openid", getOpenid())
            .append("content", getContent())
            .append("wxOrderId", getWxOrderId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("webId", getWebId())
            .append("del", getDel())
            .toString();
    }
}
